package business.report.impl;

import business.report.ConstructionDrawingReviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.ConstructionDrawingReview;
import report.domain.ConstructionDrawingReviewCriteria;
import report.mapper.ConstructionDrawingReviewMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "constructionDrawingReviewService")
public class ConstructionDrawingReviewServiceImpl implements ConstructionDrawingReviewService{
    @Autowired
    ConstructionDrawingReviewMapper constructionDrawingReviewMapper;
    @Override
    public List<ConstructionDrawingReview> getConstructionDrawingReview() {
        ConstructionDrawingReviewCriteria criteria = new ConstructionDrawingReviewCriteria();
        criteria.createCriteria().getAllCriteria();
        return constructionDrawingReviewMapper.selectByExample(criteria);
    }
}
